home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / AMISL083.ARJ / MAKEFILE < prev    next >
Text File  |  1992-05-02  |  2KB  |  73 lines

  1. ######################################################################
  2. #
  3. # Makefile for the Alternate Multiplex Interrupt Specification library
  4. #
  5. # Public Domain 1992 Ralf Brown
  6. # Version 0.83
  7. # Last Edit: 5/2/92
  8. #
  9. ######################################################################
  10.  
  11. # the C compiler to invoke
  12. CC = tcc
  13. # memory model
  14. MDL = c
  15. # the flags to pass to the C compiler
  16. CFLAGS = -m$(MDL)
  17.  
  18. # the linker to invoke
  19. LINK = tlink
  20. # the flags to pass to the linker
  21. LFLAGS = /t /m
  22.  
  23. # the assembler to invoke
  24. ASM = tasm
  25. AMDL = __TINY__
  26. AMDL_C = __COMPACT__
  27. AFLAGS = /Mx
  28.  
  29. # default rule for making a .EXE from a C source file
  30. .c.exe:
  31.     $(CC) $(CFLAGS) $<
  32.  
  33. # default rule for making a .COM from an object module
  34. .obj.com:
  35.     $(LINK) $(LFLAGS) $< amis.obj
  36.  
  37. # default rule for making an object module from a C source file
  38. .c.obj:
  39.     $(CC) $(CFLAGS) -c $<
  40.  
  41. # default rule for making an object module from an assembler source file
  42. .asm.obj:
  43.     $(ASM) $(AFLAGS) $*
  44.  
  45. all:  amitsrs.exe popup.exe remove.exe \
  46.       fastmous.com nolpt.com switchar.com vgablank.com note.com
  47.  
  48. amis.obj:    amis.asm amis.mac
  49.     $(ASM) $(AFLAGS) /D$(AMDL) $*
  50.  
  51. amitsrs.exe:    amitsrs.c
  52. popup.exe:    popup.c findtsrs.obj
  53.     $(CC) $(CFLAGS) popup.c findtsrs.obj
  54. remove.exe:    remove.c findtsrs.obj uninstal.obj
  55.     $(CC) $(CFLAGS) remove.c findtsrs.obj uninstal.obj
  56.  
  57. fastmous.com:    fastmous.obj amis.obj
  58. nolpt.com:    nolpt.obj amis.obj
  59. note.com:    note.obj amis.obj
  60. switchar.com:   switchar.obj amis.obj
  61. vgablank.com:    vgablank.obj amis.obj
  62.  
  63. uninstal.obj:    uninstal.asm amis.mac
  64.     $(ASM) $(AFLAGS) /D$(AMDL_C) uninstal.asm
  65.  
  66. findtsrs.obj:   findtsrs.c
  67. fastmous.obj:    fastmous.asm amis.mac
  68. nolpt.obj:    nolpt.asm amis.mac
  69. note.obj:    note.asm amis.mac
  70. switchar.obj:    switchar.asm amis.mac
  71. vgablank.obj:    vgablank.asm amis.mac
  72.  
  73.